import React from 'react'
import {Link} from 'react-router-dom'
export default class Main extends React.Component{
    render(){
        return(
            
                <div>
                  This is main page .
                  <br/>
                  <Link to="/main/test-1">子路由1</Link>
                  <br/>
                  <Link to="/main/123">子路由2</Link>
                  {this.props.children}
                </div>
           
        );
    }
}